﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrNewsCategory.ascx.cs" Inherits="Controls_News_ctrNewsCategory" %>


<asp:Repeater ID="rptNewsCat0" runat="server" onitemcommand="rptNewsCat0_ItemCommand" onitemdatabound="rptNewsCat0_ItemDataBound">
    <ItemTemplate>
    <div >
        <asp:HyperLink ID="lnkNewsTitle" runat="server"></asp:HyperLink>
        <br />
        <asp:Repeater ID="rptHotNewsTop1" runat="server" onitemcommand="rptHotNewsTop1_ItemCommand" onitemdatabound="rptHotNewsTop1_ItemDataBound">
            <ItemTemplate>
                    

                    <div style ="width:100%; float:left  ">
                        <div style ="float:left "><asp:ImageButton ID="btnImage" runat="server" CommandName="newsimage" Width="120px" Height="80px"/></div>
                        <div style ="float:left ">
                            <asp:HyperLink ID="lnkTitle" runat="server" Font-Bold="true"></asp:HyperLink><br />
                            <asp:Label ID="lnkInitData" runat="server"></asp:Label>
                        </div>
                    </div>
                                   
                <asp:Repeater ID="rptRelatedNews" runat="server" onitemcommand="rptRelatedNews_ItemCommand" onitemdatabound="rptRelatedNews_ItemDataBound">
                    <ItemTemplate>
                        <asp:LinkButton ID="lbtRelated" runat="server" CommandName="newsrelated"></asp:LinkButton><br />
                    </ItemTemplate>
                </asp:Repeater>
                
            </table>    
            </ItemTemplate>
        </asp:Repeater>
    </div>
    </ItemTemplate>
</asp:Repeater>

